﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo1
{
//    1. 定义一个图书馆里系统里面的用户类；
//2. 在用户类中定义一个方法输出当前用户对象的信息；然后在主方法调用输出；
    class Program
    {
        static void Main(string[] args)
        {
            book bo = new book();
            bo.Loginer = "张三";
            bo.Passward = "123456";
            bo.Bookname = "白夜行";
            bo.Bookid = "121783";
            bo.Author = "李某";
            bo.Price = 50;
            bo.Press = "北京出版社";
            bo.Address = "北京市";
            
            Console.WriteLine(bo.Loginer);
            Console.WriteLine(bo.Passward);
            Console.WriteLine(bo.Bookid);
            Console.WriteLine(bo.Bookname);
            Console.WriteLine(bo.Author);
            Console.WriteLine(bo.Price);
            Console.WriteLine(bo.Press);
            Console.WriteLine(bo.Address);
        }
    }
}
